/* $RCSFile: SettingOption.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.Core/UI/DataTypes/SettingOption.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:29  christian.surieux
 *   Added Log to All cs files
 */

using System;

namespace AddonNice.UI.DataTypes
{
	/// <summary>
	/// Structure used for list settings
	/// </summary>
	public struct SettingOption
	{
		int _val;
		string _name;

		public int Val 
		{
			get { return _val; }
			set { _val = value; }
		}

		public string Name
		{
			get { return _name; }
			set { _name = value; }
		}

		public SettingOption(int aVal, string aName)
		{
			_val = aVal;
			_name = aName;
		}
	}
	
    public struct SettingStringOption
	{
		string _val;
		string _name;

		public string Val 
		{
			get { return _val; }
			set { _val = value; }
		}

		public string Name
		{
			get { return _name; }
			set { _name = value; }
		}

		public SettingStringOption(string aVal, string aName)
		{
			_val = aVal;
			_name = aName;
		}
	}
}